home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Demos / Bowers Development / AppMaker 2.1.sit / AppMaker 2.1 / Examples / TCL / Gadgets / GadgetsDoc.cp < prev    next >
MacBinary  |  1997-02-26  |  1.9 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: GadgetsDoc.cp

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert MS-DOS Code Page Info (other/dosCodePage) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Tue Feb 25 21:03:52 1997, modified Tue Feb 25 21:03:52 1997, creator Think C, type ASCII, 1407 bytes "GadgetsDoc.cp" , at 0x5ff 286 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 47 61 64 67 65 74 | 73 44 6f 63 2e 63 70 00 |..Gadget|sDoc.cp.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 05 7f 00 | 00 01 1e af 39 4a 88 af |........|....9J..|
|00000060| 39 4a 88 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |9J......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 eb e0 00 00 |........|........|
|00000080| 2f 2a 20 47 61 64 67 65 | 74 73 44 6f 63 2e 63 70 |/* Gadge|tsDoc.cp|
|00000090| 20 2d 2d 20 64 6f 63 75 | 6d 65 6e 74 20 6d 65 74 | -- docu|ment met|
|000000a0| 68 6f 64 73 20 2a 2f 0d | 2f 2a 20 43 72 65 61 74 |hods */.|/* Creat|
|000000b0| 65 64 20 32 2f 32 35 2f | 39 37 20 31 30 3a 30 33 |ed 2/25/|97 10:03|
|000000c0| 20 50 4d 20 62 79 20 41 | 70 70 4d 61 6b 65 72 20 | PM by A|ppMaker |
|000000d0| 2a 2f 0d 0d 2f 2a 09 54 | 68 69 73 20 6d 6f 64 75 |*/../*.T|his modu|
|000000e0| 6c 65 20 6f 76 65 72 72 | 69 64 65 73 20 74 68 65 |le overr|ides the|
|000000f0| 20 41 70 70 4d 61 6b 65 | 72 2d 67 65 6e 65 72 61 | AppMake|r-genera|
|00000100| 74 65 64 20 63 6f 64 65 | 20 69 6e 20 7a 47 61 64 |ted code| in zGad|
|00000110| 67 65 74 73 44 6f 63 2e | 09 2a 2f 0d 2f 2a 09 49 |getsDoc.|.*/./*.I|
|00000120| 74 20 70 72 6f 76 69 64 | 65 73 20 61 20 70 6c 61 |t provid|es a pla|
|00000130| 63 65 20 66 6f 72 20 79 | 6f 75 20 74 6f 20 61 64 |ce for y|ou to ad|
|00000140| 64 20 79 6f 75 72 20 6f | 77 6e 20 63 6f 64 65 20 |d your o|wn code |
|00000150| 61 6e 64 20 73 74 69 6c | 6c 20 62 65 20 61 62 6c |and stil|l be abl|
|00000160| 65 20 74 6f 09 2a 2f 0d | 2f 2a 09 67 65 6e 65 72 |e to.*/.|/*.gener|
|00000170| 61 74 65 20 63 6f 64 65 | 20 66 6f 72 20 6e 65 77 |ate code| for new|
|00000180| 20 63 68 61 6e 67 65 73 | 20 74 6f 20 74 68 65 20 | changes| to the |
|00000190| 75 73 65 72 20 69 6e 74 | 65 72 66 61 63 65 2e 20 |user int|erface. |
|000001a0| 20 54 68 69 73 20 6d 6f | 64 75 6c 65 20 77 69 6c | This mo|dule wil|
|000001b0| 6c 09 2a 2f 0d 2f 2a 09 | 6e 6f 74 20 62 65 20 72 |l.*/./*.|not be r|
|000001c0| 65 67 65 6e 65 72 61 74 | 65 64 20 62 79 20 41 70 |egenerat|ed by Ap|
|000001d0| 70 4d 61 6b 65 72 20 75 | 6e 6c 65 73 73 20 79 6f |pMaker u|nless yo|
|000001e0| 75 20 64 65 6c 65 74 65 | 20 69 74 2e 20 20 49 74 |u delete| it. It|
|000001f0| 73 20 73 75 70 65 72 63 | 6c 61 73 73 2c 09 2a 2f |s superc|lass,.*/|
|00000200| 0d 2f 2a 09 7a 47 61 64 | 67 65 74 73 44 6f 63 2c |./*.zGad|getsDoc,|
|00000210| 20 6d 61 79 20 62 65 20 | 72 65 67 65 6e 65 72 61 | may be |regenera|
|00000220| 74 65 64 20 74 6f 20 68 | 61 6e 64 6c 65 20 75 73 |ted to h|andle us|
|00000230| 65 72 20 69 6e 74 65 72 | 66 61 63 65 20 63 68 61 |er inter|face cha|
|00000240| 6e 67 65 73 09 09 2a 2f | 0d 2f 2a 09 77 69 74 68 |nges..*/|./*.with|
|00000250| 6f 75 74 20 6c 6f 73 69 | 6e 67 20 79 6f 75 72 20 |out losi|ng your |
|00000260| 68 61 6e 64 2d 63 6f 64 | 65 64 20 63 68 61 6e 67 |hand-cod|ed chang|
|00000270| 65 73 20 74 6f 20 74 68 | 69 73 20 6d 6f 64 75 6c |es to th|is modul|
|00000280| 65 2e 09 09 09 09 09 2a | 2f 0d 0d 23 69 6e 63 6c |e......*|/..#incl|
|00000290| 75 64 65 20 3c 43 6f 6d | 6d 61 6e 64 73 2e 68 3e |ude <Com|mands.h>|
|000002a0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 43 42 61 72 74 |.#includ|e <CBart|
|000002b0| 65 6e 64 65 72 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |ender.h>|.#includ|
|000002c0| 65 20 22 43 6d 64 43 6f | 64 65 73 2e 68 22 0d 23 |e "CmdCo|des.h".#|
|000002d0| 69 6e 63 6c 75 64 65 20 | 22 47 61 64 67 65 74 73 |include |"Gadgets|
|000002e0| 44 61 74 61 2e 68 22 0d | 23 69 6e 63 6c 75 64 65 |Data.h".|#include|
|000002f0| 20 22 41 62 6f 75 74 44 | 69 61 6c 6f 67 2e 68 22 | "AboutD|ialog.h"|
|00000300| 0d 23 69 6e 63 6c 75 64 | 65 20 22 47 61 64 67 65 |.#includ|e "Gadge|
|00000310| 74 73 44 6f 63 2e 68 22 | 0d 0d 65 78 74 65 72 6e |tsDoc.h"|..extern|
|00000320| 09 43 42 61 72 74 65 6e | 64 65 72 09 09 2a 67 42 |.CBarten|der..*gB|
|00000330| 61 72 74 65 6e 64 65 72 | 3b 09 2f 2a 20 54 68 65 |artender|;./* The|
|00000340| 20 6d 65 6e 75 20 68 61 | 6e 64 6c 69 6e 67 20 6f | menu ha|ndling o|
|00000350| 62 6a 65 63 74 20 2a 2f | 0d 0d 2f 2a 2d 2d 2d 2d |bject */|../*----|
|00000360| 2d 2d 2d 2d 2d 2d 2a 2f | 0d 76 6f 69 64 09 43 47 |------*/|.void.CG|
|00000370| 61 64 67 65 74 73 44 6f | 63 3a 3a 49 47 61 64 67 |adgetsDo|c::IGadg|
|00000380| 65 74 73 44 6f 63 09 28 | 43 41 70 70 6c 69 63 61 |etsDoc.(|CApplica|
|00000390| 74 69 6f 6e 09 2a 61 53 | 75 70 65 72 76 69 73 6f |tion.*aS|uperviso|
|000003a0| 72 2c 0d 09 09 09 09 09 | 09 09 09 09 09 20 42 6f |r,......|..... Bo|
|000003b0| 6f 6c 65 61 6e 09 09 70 | 72 69 6e 74 61 62 6c 65 |olean..p|rintable|
|000003c0| 29 0d 7b 0d 09 69 6e 68 | 65 72 69 74 65 64 3a 3a |).{..inh|erited::|
|000003d0| 49 47 61 64 67 65 74 73 | 44 6f 63 20 28 61 53 75 |IGadgets|Doc (aSu|
|000003e0| 70 65 72 76 69 73 6f 72 | 2c 20 70 72 69 6e 74 61 |pervisor|, printa|
|000003f0| 62 6c 65 29 3b 0d 0d 09 | 2f 2f 20 79 6f 75 72 20 |ble);...|// your |
|00000400| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2d 73 70 65 63 |applicat|ion-spec|
|00000410| 69 66 69 63 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |ific ini|tializat|
|00000420| 69 6f 6e 3a 0d 0d 7d 20 | 2f 2a 20 49 47 61 64 67 |ion:..} |/* IGadg|
|00000430| 65 74 73 44 6f 63 20 2a | 2f 0d 0d 2f 2a 2d 2d 2d |etsDoc *|/../*---|
|00000440| 2d 2d 2d 2d 2d 2d 2d 2a | 2f 0d 76 6f 69 64 09 43 |-------*|/.void.C|
|00000450| 47 61 64 67 65 74 73 44 | 6f 63 3a 3a 55 70 64 61 |GadgetsD|oc::Upda|
|00000460| 74 65 4d 65 6e 75 73 09 | 09 28 76 6f 69 64 29 0d |teMenus.|.(void).|
|00000470| 7b 0d 09 69 6e 68 65 72 | 69 74 65 64 3a 3a 55 70 |{..inher|ited::Up|
|00000480| 64 61 74 65 4d 65 6e 75 | 73 20 28 29 3b 0d 0d 09 |dateMenu|s ();...|
|00000490| 67 42 61 72 74 65 6e 64 | 65 72 2d 3e 45 6e 61 62 |gBartend|er->Enab|
|000004a0| 6c 65 43 6d 64 20 28 63 | 6d 64 49 6e 76 6f 6b 65 |leCmd (c|mdInvoke|
|000004b0| 41 62 6f 75 74 29 3b 0d | 0d 7d 20 2f 2a 20 55 70 |About);.|.} /* Up|
|000004c0| 64 61 74 65 4d 65 6e 75 | 73 20 2a 2f 0d 0d 2f 2a |dateMenu|s */../*|
|000004d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2a 2f 0d 76 6f 69 |--------|--*/.voi|
|000004e0| 64 09 43 47 61 64 67 65 | 74 73 44 6f 63 3a 3a 44 |d.CGadge|tsDoc::D|
|000004f0| 6f 43 6f 6d 6d 61 6e 64 | 09 28 6c 6f 6e 67 09 09 |oCommand|.(long..|
|00000500| 74 68 65 43 6f 6d 6d 61 | 6e 64 29 0d 7b 0d 09 73 |theComma|nd).{..s|
|00000510| 77 69 74 63 68 20 28 74 | 68 65 43 6f 6d 6d 61 6e |witch (t|heComman|
|00000520| 64 29 20 7b 0d 0d 09 63 | 61 73 65 20 63 6d 64 49 |d) {...c|ase cmdI|
|00000530| 6e 76 6f 6b 65 41 62 6f | 75 74 3a 0d 09 09 44 6f |nvokeAbo|ut:...Do|
|00000540| 49 6e 76 6f 6b 65 41 62 | 6f 75 74 20 28 29 3b 0d |InvokeAb|out ();.|
|00000550| 09 09 62 72 65 61 6b 3b | 0d 0d 09 64 65 66 61 75 |..break;|...defau|
|00000560| 6c 74 3a 0d 09 09 69 6e | 68 65 72 69 74 65 64 3a |lt:...in|herited:|
|00000570| 3a 44 6f 43 6f 6d 6d 61 | 6e 64 20 28 74 68 65 43 |:DoComma|nd (theC|
|00000580| 6f 6d 6d 61 6e 64 29 3b | 0d 09 09 62 72 65 61 6b |ommand);|...break|
|00000590| 3b 0d 09 7d 20 2f 2a 20 | 73 77 69 74 63 68 20 2a |;..} /* |switch *|
|000005a0| 2f 0d 0d 7d 20 2f 2a 20 | 44 6f 43 6f 6d 6d 61 6e |/..} /* |DoComman|
|000005b0| 64 20 2a 2f 0d 0d 2f 2f | 2d 2d 2d 2d 2d 2d 2d 2d |d */..//|--------|
|000005c0| 2d 2d 0d 76 6f 69 64 09 | 43 47 61 64 67 65 74 73 |--.void.|CGadgets|
|000005d0| 44 6f 63 3a 3a 44 6f 49 | 6e 76 6f 6b 65 41 62 6f |Doc::DoI|nvokeAbo|
|000005e0| 75 74 20 28 29 0d 7b 0d | 7d 0d 0d 2f 2a 20 47 61 |ut ().{.|}../* Ga|
|000005f0| 64 67 65 74 73 44 6f 63 | 2e 63 70 20 2a 2f 0d 00 |dgetsDoc|.cp */..|
|00000600| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000610| 00 00 00 1c 00 32 00 00 | 61 6c 69 73 00 00 00 0a |.....2..|alis....|
|00000620| 00 00 ff ff 00 00 00 00 | 01 90 a1 34 00 00 00 1c |........|...4....|
|00000630| 0d 47 61 64 67 65 74 73 | 44 6f 63 2e 63 70 02 00 |.Gadgets|Doc.cp..|
|00000640| 00 00 54 45 58 54 4b 41 | 48 4c 00 00 64 28 63 c0 |..TEXTKA|HL..d(c.|
|00000650| 00 00 54 45 58 54 4b 41 | 48 4c 00 00 64 28 63 c0 |..TEXTKA|HL..d(c.|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 af 39 12 48 00 00 | 05 7f 00 00 01 1e 00 00 |...9.H..|........|
|00000680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000710| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+